package edu.cmu.ece.ds.droidchat.retransmission;

import edu.cmu.ece.ds.droidchat.message.CreateSessionMessage;

public class InvitationSendRecord {
	private CreateSessionMessage message;
	private long timeSent;
	private String destinationIP;

	public InvitationSendRecord(CreateSessionMessage m, 
			long t, String ip){
		message = m;
		timeSent = t;
		destinationIP = ip;
	}
	
	public long getTimeSent() {
		return timeSent;
	}
	public void setTimeSent(long timeSent) {
		this.timeSent = timeSent;
	}
	public CreateSessionMessage getMessage() {
		return message;
	}
	public String chatSessionID(){
		return message.getChatSessionID();
	}
	public String getDestinationIP() {
		return destinationIP;
	}
}
